package org.example.erp.mapper;
import org.example.erp.domain.ProductMaterialManagement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author 86180
* @description 针对表【product_material_management(物料产品管理表)】的数据库操作Mapper
* @createDate 2024-11-12 16:25:26
* @Entity org.example.erp.domain.ProductMaterialManagement
*/
public interface ProductMaterialManagementMapper extends BaseMapper<ProductMaterialManagement> {
    IPage<ProductMaterialManagement> find(@Param(value = "page")Page<ProductMaterialManagement> page,
                                          @Param("productName") String productName,
                                          @Param("materialName") String materialName,
                                          @Param("materialProductCode") String materialProductCode,
                                          @Param("materialIds") List<Integer> materialIds
    );


    IPage<ProductMaterialManagement> findboms(@Param(value = "page")Page<ProductMaterialManagement> page,
                                              @Param("materialProductCode") String materialProductCode
                                              );
}




